package models;

import java.util.*;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import play.data.validation.Required;
import play.db.jpa.*;

@Entity
public class MotifAnnulation extends Model {

	@Required
	public String motif;

	@Required
	@Column(unique=true)
	public String id_motifannulation;

	public String observation;

	public MotifAnnulation(String motif, String id, String observation){
		this.motif = motif;
		this.id_motifannulation = id;
		this.observation = observation;
	}

	public String toString(){
		return motif;
	}

}
